x11: Fix a crash in event handling
authorMatthias Clasen <mclasen@redhat.com>
Sat, 22 Feb 2020 16:41:29 +0000 (16:41 +0000)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 22 Feb 2020 16:41:29 +0000 (16:41 +0000)
This was overlooked in 79b4510c6d687c.

gdk/x11/gdkdisplay-x11.c

index a0f3e83302da7ce0cd43003a219f96b8835710b5..a4c37c11ab3f00f3f6f19647c0528872523a9f4a 100644 (file)
@@ -849,7 +849,7 @@ gdk_x11_display_translate_event (GdkEventTranslator *translator,
               surface_impl->toplevel->frame_pending)
             {
               surface_impl->toplevel->frame_pending = FALSE;
-              gdk_surface_thaw_updates (event->any.surface);
+              gdk_surface_thaw_updates (surface);
             }
 
          if (toplevel)